package com.banksoft.cps.service;

import com.banksoft.cps.bean.SupplierIntoWarehouse;
import com.banksoft.cps.bean.common.ServiceException;
import com.banksoft.cps.bean.query.SupplierIntoWarehouseQuery;
import com.banksoft.cps.bean.warpper.SupplierIntoWarehouseWarpper;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/1/12.
 */
public interface SupplierIntoWarehouseService {

    List<SupplierIntoWarehouseWarpper> list(SupplierIntoWarehouseQuery query);

    long count(SupplierIntoWarehouseQuery query);

    void save(SupplierIntoWarehouse bean) throws ServiceException;

    SupplierIntoWarehouse findById(String id);

}
